<template>
  <!-- <router-view v-slot="{ Component }">
    <transition appear name="slide">
      <component :is="Component"></component>
    </transition>
  </router-view> -->
  <router-view></router-view>
  <Player />
</template>

<script>
import Player from '@/components/Player'
export default {
  name: 'App',
  components: {
    Player
  },
  mounted() {
    this.$nextTick(() => {
      setTimeout(() => {
        this.$store.commit('setWindowHeight', window.innerHeight)
      })
    })
  }
}
</script>
